/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.agi.util.sound;

import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.LineUnavailableException;
import javax.sound.sampled.Port;

/**
 *
 * @author Renato
 */
public class BuscadorPort {
    
    public Port getPort() throws LineUnavailableException{
        return (Port) AudioSystem.getLine(Port.Info.MICROPHONE);
    }
}
